<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.lanting.meetingserver.util.RecordList"%>
<%@page import="com.lanting.meetingserver.domain.MeetingUser"%>

<%
	RecordList<MeetingUser> list = (RecordList<MeetingUser>) request
			.getAttribute("data");
%>
<table id="notice-table" class="datalist  table_data_list"
	pageindex="<%=list.pageindex%>" pagesize="<%=list.pagesize%>"
	recordcount="<%=list.recordcount%>" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<th>
				登录名
			</th>
			<th>
				姓名
			</th>
			<th>
				邮箱
			</th>
			<th>
				状态
			</th>
			<th class="last">
				编辑
			</th>
		</tr>
	</thead>
	<tbody>
		<%
			for (MeetingUser user : list.Data) {
				if (user.getUser() == null)
					continue;
		%>
		<tr>
			<td><%=user.getUser().getLoginId()%></td>
			<td><%=user.getUser().getUserName()%></td>
			<td><%=user.getUser().getUserEmail()%></td>
			<td><%=user.getStatusString()%></td>
			<td>
				<a class="EditItem trigger cell_button edit"  rel="#tblMeetingusersDlg" id="editMUser<%=user.getMeetingId()%>-<%=user.getUser().getUserId()%>"
					href="MeetingUser/get?meetingId=<%=user.getMeetingId()%>&user.loginId=<%=user.getUser().getLoginId()%>">编辑</a>
				<a class="DelItem cell_button del" list="tblMeetingusers"
					href="MeetingUser/del?meetingId=<%=user.getMeetingId()%>&user.loginId=<%=user.getUser().getLoginId()%>">删除</a>
			</td>
		</tr>
		<%
			}
		%>
	</tbody>
</table>